Charting for WinForms Programmer's Guide
CustomPaintEventArgs.CreatePathGradient Method
See Also
 






Creates a path gradient with the specified center point and a blend specified by a series of positions and color objects.

Namespace: MindFusion.Gauges
Assembly: MindFusion.Gauges

 Syntax

C#  Copy Code

public PathGradientBrush CreatePathGradient (
    PointF centerPoint,
    Object[] positionsAndColors
)

Visual Basic  Copy Code

Public Function CreatePathGradient ( _
    centerPoint As PointF, _
    positionsAndColors() As Object _
) As PathGradientBrush

 Parameters

centerPoint

The center point of the path gradient.

positionsAndColors
An alternating sequence of float and Color pairs where each pair defines a gradient stop. The positions in the sequence need to be in ascending order.

 Return Value

A MindFusion.Drawing.PathGradientBrush with the specified characteristics.

 See Also

CustomPaintEventArgs Members
CustomPaintEventArgs Class
MindFusion.Gauges Namespace